Methods and systems for detecting whether a seat belt is used in a vehicle

ABSTRACT

A computer implemented method for detecting whether a seat belt is used in a vehicle comprises the following steps carried out by computer hardware components: acquiring an image of an interior of the vehicle; determining a plurality of sub-images based on the image; detecting, for at least one of the sub-images, whether a portion of the seat belt is present in the respective sub-image; and determining whether the seat belt is used based on the detecting.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 17/141,114, filed Jan. 4, 2021, which in turn claims priority to European Patent Application Number 20214085.1, filed Dec. 15, 2020, and which in turn claims priority to European Patent Application Number 20150594.8, filed Jan. 7, 2020, the disclosures of which are hereby incorporated by reference in their entireties herein.

TECHNICAL FIELD

The present disclosure relates to methods and systems for detecting whether a seat belt is used in a vehicle, in particular whether the seat belt is properly used or used in a way that it is intended to use.

BACKGROUND

Safety belts (in other words: seat belts) are one of the most important safety measures in vehicles. However, a safety belt may be effective only if it is used, and if it is used properly.

Nowadays, the standard for detecting whether people in a car are buckled up is to use a sensor in the buckle receiver. The method is reliable and has a high accuracy. However, the information whether this sensor is detecting a seat belt in the buckle receiver does not indicate whether the seat belt is worn properly. For example, another seat belt (e.g. spare part) may be plugged in the buckle receiver instead of the real seat belt buckle, or the seat belt may be connected and the passenger may sit in front of it or on top of it.

Furthermore, if the seats are removable and adjustable on sliders or turnable (e.g. in a van), the wiring of the sensors in the buckle receiver can also be a challenge as connectivity has to be ensured for all configurations.

SUMMARY

The present disclosure provides a computer implemented method, a computer system and a non-transitory computer readable medium according to the independent claims. Embodiments are given in the subclaims, the description and the drawings.

In one aspect, the present disclosure is directed at a computer implemented method for detecting whether a seat belt is used (or worn or applied) in a vehicle, the method comprising the following steps performed (in other words: carried out) by computer hardware components: acquiring an image of an interior of the vehicle; determining a plurality of sub-images based on the image; detecting, for at least one of the sub-images, whether (at least) a portion of the seat belt (for example a portion of the strap of the seat belt or a portion of the buckle of the seat belt) is present in the respective sub-image; and determining whether the seat belt is used (for example properly used or used in a way that it is intended to use) based on the detecting.

In other words, an image may be acquired, and several sub-images (which may be crops of the image, and which may be referred to as patches, and which may be rectangular or have any other shape, with boundaries of the sub-images parallel or non-parallel to the boundaries of the image) may be determined, and detection may be carried out on these sub-images. The method may provide a visual four point seat belt verification.

If the seats are removable and adjustable on sliders or turnable (e.g. in a van), the wiring of the conventional sensors in the buckle receiver may be a challenge as connectivity has to be ensured for all configurations. In such case, with the vision based method according to various embodiments, a non-contact solution for detection of properly worn seat belts may be provided, which may reduce system complexity and cost.

With the vision-based method according to various embodiments, false detections of commonly used seat belt detection approaches may be overcome by analyzing whether the seat belt is actually routed properly along the passenger body. In addition, if interior cameras are available for other features such as driver monitoring or cabin monitoring, the sensors in the buckle receivers may be removed to save costs.

According to another aspect, the detecting comprises determining an estimated probability that a portion of the seat belt is present in the respective sub-image. For example, if a probability that a portion of the seat belt is present in the respective sub-image is in a mid-range (for example between 30% and 70%, or between 40% and 60%, or at about 50%), it may be determined that a detection whether the portion of the seat belt is present in the present sub-image is not possible. In such cases, the detection whether a portion of the seat belt is present in the present sub-image may provide a result of “unknown”. This may allow for occlusions or ‘unknown’ cases being detected but not classified as “portion of seat belt not present”. It will be understood that a “mid-range” includes probabilities for which a clear indication of “portion of seatbelt present” or “portion of seatbelt not present” is not possible or not appropriate.

According to another aspect, it is determined whether a seat belt is (properly) used based on the plurality of estimated probabilities for the at least one sub-images. The probability may be used to accumulate processing results, and to allow a more sophisticated determination other than a mere “yes” or “no” determination.

According to another aspect, the detecting is carried out sequentially (i.e. for one sub-image after the other), wherein processing the detecting is stopped and it is determined that the seat belt is not (properly) used, if for the present sub-image, it is detected that a portion of the seat belt is not present (for example if it is determined that a probability of the seat belt being present is below pre-determined threshold) in the present sub-image. This may reduce computational efforts.

According to another aspect, the detecting is carried out sequentially (i.e. for one sub-image after the other), wherein processing the detecting is stopped and it is determined that an indication whether the seat belt is used is not possible, if for the present sub-image it is detected that a portion of the seat belt is occluded in the present sub-image.

According to another aspect, the detecting is carried out sequentially (i.e. for one sub-image after the other), wherein processing the detecting is stopped and it is determined that an indication whether the seat belt is used is not possible, if for the present sub-image it is determined that a detection whether the portion of the seat belt is present in the present sub-image is not possible (for example because the detection whether a portion of the seat belt is present in the present sub-image provides a result of “unknown”).

According to another aspect, the image is acquired by at least one of a 2D camera, a black-and-white camera, a color camera, a color-infrared camera, a near infrared camera, or a Time of Flight camera. The respective camera may also be used for other tasks in the vehicle, for example for driver monitoring or driver state detection.

According to another aspect, an occupancy status (for example “empty” or “occupied”) of a seat corresponding to the seat belt may be determined based on the detecting. For example, if it is determined that the seat is occupied, safety measures in case of an accident may be taken to protect the passenger occupying the seat.

According to another aspect, if a seat occupancy status is available from another module, for example, another processing step using the same sensor input, or from another sensor, e.g. weight sensor in the seat, the signal provided by the other module may also be included in the computation of the final seat belt status. For example, if it is determined that there is a very low likelihood of the seat being occupied based on the other module, the parameters of the seat belt detector may be modified, e.g. by increasing the classification thresholds for “seat belt on” for an empty seat.

According to another aspect, a seat belt status (for example “belt off” (i.e. not used or not worn), “belt on” (belt used or worn), “likely belt on”, or “likely belt off”) may be determined based on the detecting. Based on the determined seat belt status, a warning message may be provided to the occupant of the vehicle.

According to another aspect, a (seat belt) routing status (for example “properly routed”, “below shoulder”, “behind back”) of the seat belt may be determined based on the detecting. Based on the determined routing status, a warning message, or an instruction how to obtain a correct routing may be provided to the occupant of the vehicle.

According to another aspect, an occlusion status of the seat belt (for example “seat belt occluded by other body parts”, “seat belt occluded by clothing”, “seat belt occluded by object on lap”) may be determined based on the detecting. For example, if it is determined that the seat belt is occluded by an object on the occupant's lap, safety measures in case of an accident may be taken to protect the passenger occupying the seat, for example by selectively activating the airbag to avoid the object on the occupant's lap hurting the occupant. It will be understood that “occluded” may mean that the seat belt is (at least partially) not visible on the acquired image, for example because another object is located between the seat belt and the sensor (for example camera) that acquires the image.

According to another aspect, a location of at least one body key point (of an occupant of the vehicle that is supposed to wear the seat belt) may be determined based on the image, and the plurality of sub-images may be determined based on the determined location of the at least one body key point. This may allow for compensation of various seating positions, wherein with a varying seating position also the position of the seat belt varies.

According to another aspect, it may be determined whether a portion of the seat belt is occluded and/or which portions of the seat belt are occluded based on the image. According to another aspect, at least one of the following steps may be carried out if it is determined that a portion of the seat belt is occluded: prompting a user to remove the occluding object; adapting the determination of the sub-images so that the sub-images show unoccluded portions of the seat belt; postponing the detecting until the portion of the seat belt is no longer occluded; or predicting the results of the detecting based on an earlier detecting. This may allow for obtaining results only when the seat belt is not occluded.

According to another aspect, the detecting is carried out using a classifier.

For example, the classifier may classify the object or objects shown on the sub-image. For example, the classifier may classify a sub-image (in other words: the entire sub-image, or the full sub-image) into “showing at least a portion of the seat belt” or “not showing the seat belt”; it will be understood that classification into another set of classes may be provided, for example “showing at least a portion of the seat belt with a probability of less than 30%”, “showing at least a portion of the seat belt with a probability between 30% and 70”, or “showing at least a portion of the seat belt with a probability of more than 70%”.

In another example, the classifier may classify each pixel in the sub-image. The classifier may classify each pixel into a class of “pixel belonging to the seat belt” or a class of “pixel not belonging to the seat belt”. Alternatively, the classifier may assign a probability (or a range of probability in order to keep the number of classes low) to belong to the seat belt or not. The resulting probabilities may be represented as probability maps (in other words: images) and, in a second step, these maps may be further processed and classified as “seat belt present/not present/present, but wrongly used”, or the like. The second step may be carried out by another neural network or any other classification method.

According to another aspect, the detecting is carried out using a (artificial) neural network, for example a convolutional neural network.

According to another aspect, the plurality of sub-images are determined based on cropping the image and transforming each of the cropped image using a perspective transformation. The perspective transformation (in other words: visual transformation) may be selected so that the seat belts are oriented perpendicular to the major axis of the box. The perspective transformation and/or a crop of the sub-images may ensure that a portion of seatbelt in the image for all various possible (or feasible or valid) seat positions. Furthermore, this may allow using the same classifier or artificial neural network for all of the sub-images that are related to the strap of the seat belt. A separate classifier or artificial network may be used for sub-images that are related to the buckle of the seat belt.

In another aspect, the present disclosure is directed at a computer system, said computer system comprising a plurality of computer hardware components configured to carry out several or all steps of the computer implemented method described herein. The computer system can be part of a vehicle.

In another aspect, the present disclosure is directed at a vehicle, comprising the computer system and at least one sensor configured to acquire the image of the interior of the vehicle.

The computer system may comprise a plurality of computer hardware components (for example a processing unit, at least one memory unit and at least one non-transitory data storage). It will be understood that further computer hardware components may be provided and used for carrying out steps of the computer implemented method in the computer system. The non-transitory data storage and/or the memory unit may comprise a computer program for instructing the computer to perform several or all steps or aspects of the computer implemented method described herein, for example using the processing unit and the at least one memory unit.

In another aspect, the present disclosure is directed at a non-transitory computer readable medium comprising instructions for carrying out several or all steps or aspects of the computer implemented method described herein. The computer readable medium may be configured as: an optical medium, such as a compact disc (CD) or a digital versatile disk (DVD); a magnetic medium, such as a hard disk drive (HDD); a solid state drive (SSD); a read only memory (ROM), such as a flash memory; or the like. Furthermore, the computer readable medium may be configured as a data storage that is accessible via a data connection, such as an internet connection. The computer readable medium may, for example, be an online data repository or a cloud storage.

The present disclosure is also directed at a computer program for instructing a computer to perform several or all steps or aspects of the computer implemented method described herein.

BRIEF DESCRIPTION OF THE DRAWINGS

Exemplary embodiments and functions of the present disclosure are described herein in conjunction with the following drawings, showing schematically:

FIG. 1 an illustration of an image acquired according to various embodiments;

FIG. 2 an illustration of an occupant state model according to various embodiments; and

FIG. 3 a flow diagram illustrating a method for detecting whether a seat belt is used in a vehicle according to various embodiments.

DETAILED DESCRIPTION

Based on the issues described in the Background, there is a need to improve seat belt detection.

According to various embodiments, use may be mode of the knowledge of car interior to efficiently perform seat occupancy and belt status verification. The knowledge of the car interior along with the fact that there is a constant camera viewpoint may permit making certain assumptions about the normal seating positions of people in the car.

A system according to various embodiments for detecting whether a seat belt is properly used in a vehicle may include at least one vision sensor (for example 2D (two-dimensional) RGB (red-green-blue) sensor, RGB-IR (infrared) sensor, NIR (near infrared) sensor, or a time of flight sensor), a processing unit receiving the images and computing the output signal, and a signaling unit providing an output signal to at least one receiving unit.

The camera may be positioned at various positions in the vehicle, for example, in the proximity of the rear view mirror, the roof, the center display area, in the A-pillars, B-pillars, or above the 2nd row.

More than one camera may be provided, so that it may be possible to fuse the information from multiple cameras in the processing unit.

According to various embodiments, the seat belt may be equipped with markers. Such markers may be, for example, reflective in the IR spectrum and induce characteristic patterns in the image plane of the vision sensor that can be detected and processed by a method according to various embodiments.

FIG. 1 shows an illustration 100 of an image acquired according to various embodiments. Sub-images 102, 104, 106, 108, 110, 112, 114, 116 are illustrated by white frames. The acquired image may be cropped according to the white frames to obtain the sub-images. The sub-images 108 and 110 are located at the position of the buckle, while the other sub-images 102, 104, 106, 112, 114, 116 are located at the position of the seat belt strap if used properly.

According to various embodiments, different classifiers (for example (artificial) neural networks) may be provided for evaluation of the sub-images related to the buckle and for the sub-images related to the strap. The classifier for the sub-images related to the buckle may detect whether the seat belt is buckled or not (for example by detecting whether a buckle is visible in the sub-image or not). The classifier for the sub-images related to the strap may detect if the frontal seat belt is visible in the sub-image (in other words: patch) or not.

The sub-images or patches for each location related to the strap may be selected and perspectively transformed such that the seat belts are oriented perpendicular to the major axis of the box (within a given tolerance). Since the camera mounting location and the seat positions is known, it is possible to use static transformation parameters for each patch. This sub-image transformation may allow making all patches look similar for all seating positions in the car. This allows us to train and reuse one single classifier for all the seating positions in the car and reduce the data collection efforts, in particular for training the classifier.

The classifiers (for example artificial neural networks) may be trained, for example by providing (sub-)images and information on what is actually shown on the images (or whether a buckle or strap is actually shown on the image or not), and the artificial neural network may learn (using machine learning approaches) to correctly evaluate not only images that were used for trainings, but also any (sub-) images that are determined during normal operation (i.e. after training).

According to various embodiments, a safety score or weighted classifier score may be determined. For example, the safety score may be a function of whether the person is in position and wearing the seat belt. Each person's safety score may be calculated based on the output from the various sub-images (in other words: patches, for example from four patches). Each patch may be assigned a max score S_(patch) that it can contribute. The final safety score for an occupant of at any time point may then be computed as

${{SafetyScor}e_{o1}} = {{S_{b0}*{BuckleClassifie}{r\left( {b0} \right)}} + {\sum\limits_{k = 0}^{n}{S_{k}*S{trapClassifie}{r\left( c_{k} \right)}}}}$

wherein S_(b0) and S_(k) are weights, BuckleClassifier(b0) denotes a score related to whether (a portion of) a buckle is shown on the respective sub-image (for example sub-image 108 (for the passenger) or 110 (for the driver) as shown in FIG. 1 ), and StrapClassifier(c_(k)) denotes a score related to whether (a portion of) a strap of a seat belt is shown on the k-th sub-image related to the strap (for example sub-image 102, 104, 106 (for the passenger) or 112, 114, 116 (for the driver) as shown in FIG. 1 )

According to various embodiments, an occupant state model may be provided.

FIG. 2 shows an illustration 200 of an occupant state model according to various embodiments. Various states are illustrated by boxes in FIG. 2 , and conditions for switching between the states are illustrated by arrows in FIG. 2 . Region A, region B, region C, and region D may refer to four different patches, for example to sub-images 102, 104, 106, 108 of FIG. 1 . It will be understood that the number of sub-images is not restricted to four but may be any integer number. It will be understood that the sequence (in other words: order) in which the patches are processed is not restricted to the processing shown in FIG. 2 , but the patches may be processed in any other sequence.

Processing may start at a belt off state 202 (i.e. a state in which it is assumed that the occupant is not wearing the belt). If the probability that a portion of the belt (in particular of the strap of the belt) is present in region A is higher than a pre-determined threshold, it may be switched to a first stage (stage A 204).

At stage A 204, if the probability that a portion of the belt is present in region B is higher than the pre-determined threshold, it may be switched to a second stage (stage B 206), and if the probability that a portion of the belt is present in region A is lower than the pre-determined threshold, it may be switched back to the belt off stage 202.

At stage B 206, if the probability that a portion of the belt is present in region C is higher than the pre-determined threshold, it may be switched to a third stage (stage C 208), and if the probability that a portion of the belt is present in region B is lower than the pre-determined threshold, it may be switched back to the stage A 204.

At stage C 208, if the probability that a portion of the belt is present in region D is higher than the pre-determined threshold, it may be switched to a belt on stage 210 (i.e. a state in which it is assumed that the occupant is wearing the belt), and if the probability that a portion of the belt is present in region C is lower than the pre-determined threshold, it may be switched back to the stage B 206.

At the belt on stage 210, if the probability that a portion of the belt is present in region D is lower than the pre-determined threshold, it may be switched back to the stage C 208.

It will be understood that the various thresholds illustrated in FIG. 2 may be identical or different, for example the thresholds for proceeding forward to a next stage may be higher than the respective threshold for going back to that stage, to introduce a hysteresis to avoid frequent (back and forth) switching between stages.

According to various embodiments, the discrete intermediate states (stages A, B, C) may be used for interactive visualization, for example for animating a 3D (three-dimensional) model.

With the processing as illustrated in FIG. 2 , processing requirements may be reduced, since at each time point, there is no need run the classifier on the entire image. For example, once stage B is confirmed, it may be sufficient to only run the classifier on the next patch (in order to determine whether to proceed to stage C).

Furthermore, with the processing as illustrated in FIG. 2 , partial occlusions may be handled.

According to various embodiments, based on the camera images, an output for each seating position may be determined, for example an occupancy status of the seat (for example “empty” or “occupied”), a current seat belt status (for example “belt off”, “belt on”, “likely belt on”, “likely belt off”), a (belt) routing status (for example “properly routed”, “below shoulder”, “behind back”) and/or an occlusion status (for example “seat belt occluded by other body parts”, “seat belt occluded by clothing”, “seat belt occluded by object on lap”).

FIG. 3 shows a flow diagram 300 illustrating a method for detecting whether a seat belt is used in a vehicle according to various embodiments. At 302, an image of an interior of the vehicle may be acquired. At 304, a plurality of sub-images may be determined based on the image. At 306, for at least one of the sub-images, it may be detected whether a portion of the seat belt is present in the respective sub-image. At 308, it may be determined whether the seat belt is used based on the detecting.

It will be understood that determining the sub-images at step 304 includes (or is) a determination of respective locations (or positions) of the sub-images in the image. Several ways of how the sub-images are located may be provided.

According to various embodiments, the sub-images may be located at configurable, static positions in the image. The sub-images may be adjusted at a calibration step for different car interiors, and/or for different camera viewpoints, and/or for different seat positions. This may be referred to as a static approach.

According to various embodiments, the sub-images may be located (in other words: placed) dynamically relative to detected body key points, e.g. shoulders, hip points, in the image. This may be referred to as a dynamic approach.

According to various embodiments, a combination of the static approach and the dynamic approach may be provided. For example, the location of sub-images may be derived from a time series of body key points where pre-dominant positions of body key points, e.g. shoulders or hips, may be accumulated over time for stabilization of the regions, thus being less dependent on the frame by frame detection of a body key point detector or to save processing time by not requiring to recompute body key points for every frame in order to update the seat belt status. At the same time, this combined approach may be more flexible than fixed regions in the static approach.

According to various embodiments, parameters of an analysis of the time series of images may be adapted based on further signals from the vehicle, for example to make the placement of the sub-images more responsive to the more recent measurements (so that a faster change is possible; this may also be referred to as a more dynamic placement). For example, the signals from the vehicle may include signals indicating whether a seat has been moved. For example, the placement may be less dynamic if the seat has not moved for long time, and the placement may be more dynamic if the seat has been adjusted recently.

The parameters of the analysis may for example be a frequency of the placement (which may for example indicate how frequently the position of the sub-images is adjusted, for example every 1 second, or every 5 seconds, or every minute).

Placement in this context may refer to placing (or positioning) the sub-images within the full image (which may be understood as setting the search region). In the above example, if the seat position is changed (for example by moving the seat back or forth), the regions where the seat belt is expected may change.

In the combined approach, the sub-images may be placed based on accumulated statistics of the occurrence of body key points, and some parameters may be set on how fast the sub-image placement should react on changes of the body key points.

For example, it may be desired that this process is rather slow, so that small body movements do not change the location or place of the sub-images.

However, if the seat is adjusted (which may be known for example via a signal on the vehicle bus which indicates that the seat position has been changed), the settings may be changed to respond faster to changes in the body key points.

In this case, the sub-image may be moved faster to the current position of the shoulders, for example.

According to various embodiments, determination of the sub-images may be combined with a user ID (identifier). The user ID may, for example, be determined using face identification or another identification method. By using the user ID, customized sub-image regions may be set for a given user.

According to various embodiments, the outputs of the different sub-image classifiers may be fed into a graphical inference model, additional neural network, or other data driven machine learning method. The result may be obtained from a single time instance or from a sequence of observations, e.g. using recurrent neural network architectures or LSTM.

In one embodiment, the seat buckle state result may be derived via a Hidden Markov Model, where the hidden state is the seat belt status, while the observations are the results from the sub-image classifiers. The state transitions probabilities and emission likelihoods for the observations may be predefined or learned from training data.

According to various embodiments, the detecting comprises determining an estimated probability that a portion of the seat belt is present in the respective sub-image.

According to various embodiments, it is determined whether a seat belt is used based on the plurality of estimated probabilities for the at least one sub-images.

According to various embodiments, the detecting is carried out sequentially, wherein processing the detecting is stopped and it is determined that the seat belt is not used, if for the present sub-image, it is detected that a portion of the seat belt is not present in the present sub-image.

According to various embodiments, the image is acquired by at least one of a 2D camera, a black-and-white camera, a color camera, a color-infrared camera, a near infrared camera, or a Time of Flight camera.

According to various embodiments, the method further comprises determining an occupancy status of a seat corresponding to the seat belt based on the detecting.

According to various embodiments, the method further comprises determining a seat belt status based on the detecting.

According to various embodiments, the method further comprises determining a routing status of the seat belt based on the detecting.

According to various embodiments, the method further comprises determining an occlusion status of the seat belt and/or a body pose of the occupant and/or body key points of the occupant and/or objects in a vicinity of the occupant based on the detecting.

According to various embodiments, the detecting is carried out using a classifier.

According to various embodiments, the detecting is carried out using a neural network.

Occlusions of a seat belt may be caused by body parts, clothing, and objects, as well as other coverage of the sensor blocking the line of sight (e.g. a sticker on the camera lens).

According to various embodiments, a camera self-test module may check the image content as part of a self-diagnostic service from time to time to ensure that the data acquired by the camera is valid (e.g. not blurred, frozen, oversaturated, too dark, etc.) and the camera is not blocked by a close by object. This step may also contain one or more neural networks.

The system may be coupled with a body key point detection module to further optimize and improve the patch selection process and occlusion prediction. Such module may detect 2D or 3D key points of a body (such as shoulder, hips, elbow, hands, knees, etc.). According to various embodiments, the key points are computed using a neural network. This network may run on the full image or on a different sub-image, not necessarily related to the seat belt crops.

Knowing the position of the shoulder and hip body key points may allow to determination of an adaptive cropping of the seat belt sub-images containing the strap and buckle using parameters relative to the key point locations in the image or in 3D space.

Moreover, the body key point module may be used to determine if the seat belt region would be occluded with a body part. For example if the hand key points fall into a sub-image of the strap, the sub-image may be classified as occluded with “seat belt occluded by other body parts” and choose to delay running the seat belt classifier on the particular sub-image or to select a more suitable sub-image that is not occluded. The same concept may be extended by assuming that 2 key points are connected e.g. by an arm and therefore a linear band between 2 or more points (skeleton) may also be used for prediction of occlusions.

An object detection module may also be used to determine if the seat belt may be occluded. An object detection or segmentation module may be used to determine the region that is occluded by the object. For example, if an object such as a bag or laptop is placed on the lap of a person on the seat, it may partially or completely occlude the seat belt region.

In case occlusions are detected, they may be handled within the system in several ways.

In an interactive approach, a user may be prompted to move the occluding object or part. When the system determines that the belt region is no longer occluded, the system may run the seat belt classifiers and may re-assess the state.

In a dynamic sub-image selection approach, the system may attempt to select only sub-images that do not fall within occluded regions. If there are sufficient (for example at least 2) regions that are not occluded, the system may produce an output, but the overall confidence may be lower than if all regions are visible.

In a waiting approach (which may be referred to as TimeWait approach), the system may wait for some time for the sub-image to reach the unoccluded state before running the classifier again on the sub-image.

In a prediction approach, the previous result or likely result of the patch may be estimated by extrapolating the result of previous time period.

According to various embodiments, the plurality of sub-images are determined based on cropping the image and transforming each of the cropped image using a perspective transformation.

Each of the steps 302, 304, 306, 308 and the further steps described above may be performed by computer hardware components. 

What is claimed is:
 1. A system comprising one or more processors that are configured to: obtain, from one or more sensors, an image of an interior of a vehicle; obtain, from the image, multiple sub-images; determine, for each sub-image of the multiple sub-images, whether a portion of the seat belt is present; and responsive to a determination that the portion of the seat belt is not present in any sub-image of the multiple sub-images, determine that the seat belt is not being used; or responsive to a determination that the portion of the seat belt is present in each sub-image of the multiple sub-images, determine that the seat belt is being used.
 2. The system of claim 1, wherein the one or more processors are further configured to process the multiple sub-images in a sequential manner to determine whether the portion of the seat belt is present.
 3. The system of claim 2, wherein the one or more processors are further configured to: responsive to the determination that the portion of the seat belt is not present in any sub-image of the multiple sub-images, terminate processing of the multiple sub-images.
 4. The system of claim 2, wherein the one or more processors are further configured to: set an initial state of a seat-belt use variable at a belt-off state; determine whether the portion of the seat belt is present by determining, for a respective sub-image of the multiple sub-images, whether a probability that the portion of the seat belt is present in the respective sub-image is greater than a first predetermined threshold or a second predetermined threshold, the first predetermined threshold having a larger value than the second predetermined threshold; responsive to a determination that the probability that the portion of the seat belt is present in the respective sub-image is greater than the first predetermined threshold, proceed to process a next sub-image in the sequential manner; responsive to a determination that the probability that the portion of the seat belt is present in the respective sub-image is greater than the second predetermined threshold but lower than the first predetermined threshold, switch back to the initial state of the seat-belt use variable or switch back to an immediately previous sub-image in the sequential processing and determine a partial occlusion of the seat belt exists; or responsive to a determination that the probability that the portion of the seat belt is present in the respective sub-image is lower than the first predetermined threshold and the second predetermined threshold, terminate processing of the multiple sub-images.
 5. The system of claim 4, wherein the one or more processors are further configured to: responsive to the determination that the probability that the portion of the seat belt is present in the respective sub-image is greater than the second predetermined threshold but lower than the first predetermined threshold, terminate processing of the multiple sub-images, set the seat-belt use variable at a unknown state, and determine it is not possible to determine that the seat belt is being used.
 6. The system of claim 1, wherein the one or more processors are further configured to determine whether the portion of the seat belt is present by determining, for a respective sub-image of the multiple sub-images whether a probability that the portion of the seat belt is present in the respective sub-image is greater than a predetermined threshold.
 7. The system of claim 6, wherein: the image of the interior of the vehicle is for a particular seat in the vehicle; and the one or more processors are further configured to: obtain a seat occupancy status for the particular seat of the interior of the vehicle; and responsive to the seat occupancy status for the particular seat being an empty state, increase, for the multiple sub-images, a value of the predetermined threshold.
 8. The system of claim 7, wherein the sub-images, for the particular seat, are located at static positions within the image relative to the particular seat.
 9. A computer-readable medium comprising computer-executable instructions that, when executed, cause a processor to: obtain, from one or more sensors, an image of an interior of a vehicle; obtain, from the image, multiple sub-images; determine, for each sub-image of the multiple sub-images, whether a portion of the seat belt is present; and responsive to a determination that the portion of the seat belt is not present in any sub-image of the multiple sub-images, determine that the seat belt is not being used; or responsive to a determination that the portion of the seat belt is present in each sub-image of the multiple sub-images, determine that the seat belt is being used.
 10. The computer-readable medium of claim 9, wherein the computer-readable medium comprises further computer-executable instructions that, when executed, cause the processor to process the multiple sub-images in a sequential manner to determine whether the portion of the seat belt is present.
 11. The computer-readable medium of claim 10, wherein the computer-readable medium comprises further computer-executable instructions that, when executed, cause the processor to: responsive to the determination that the portion of the seat belt is not present in any sub-image of the multiple sub-images, terminate processing of the multiple sub-images.
 12. The computer-readable medium of claim 10, wherein the computer-readable medium comprises further computer-executable instructions that, when executed, cause the processor to: set an initial state of a seat-belt use variable at a belt-off state; determine whether the portion of the seat belt is present by determining, for a respective sub-image of the multiple sub-images, whether a probability that the portion of the seat belt is present in the respective sub-image is greater than a first predetermined threshold or a second predetermined threshold, the first predetermined threshold having a larger value than the second predetermined threshold; responsive to a determination that the probability that the portion of the seat belt is present in the respective sub-image is greater than the first predetermined threshold, proceed to process a next sub-image in the sequential manner; responsive to a determination that the probability that the portion of the seat belt is present in the respective sub-image is greater than the second predetermined threshold but lower than the first predetermined threshold, switch back to the initial state of the seat-belt use variable or switch back to an immediately previous sub-image in the sequential processing and determine a partial occlusion of the seat belt exists; or responsive to a determination that the probability that the portion of the seat belt is present in the respective sub-image is lower than the first predetermined threshold and the second predetermined threshold, terminate processing of the multiple sub-images.
 13. The computer-readable medium of claim 12, wherein the computer-readable medium comprises further computer-executable instructions that, when executed, cause the processor to: responsive to the determination that the probability that the portion of the seat belt is present in the respective sub-image is greater than the second predetermined threshold but lower than the first predetermined threshold, terminate processing of the multiple sub-images, set the seat-belt use variable at a unknown state, and determine it is not possible to determine that the seat belt is being used.
 14. The computer-readable medium of claim 9, wherein the computer-readable medium comprises further computer-executable instructions that, when executed, cause the processor to: determine whether the portion of the seat belt is present by determining, for a respective sub-image of the multiple sub-images whether a probability that the portion of the seat belt is present in the respective sub-image is greater than a predetermined threshold.
 15. The computer-readable medium of claim 14, wherein: the image of the interior of the vehicle is for a particular seat in the vehicle; and the computer-readable medium comprises further computer-executable instructions that, when executed, cause the processor to: obtain a seat occupancy status for the particular seat of the interior of the vehicle; and responsive to the seat occupancy status for the particular seat being an empty state, increase, for the multiple sub-images, a value of the predetermined threshold.
 16. The computer-readable medium of claim 15, wherein the sub-images, for the particular seat, are located at static positions within the image relative to the particular seat.
 17. A computer-implemented method for detecting whether a seat belt is used in a vehicle, the method comprising: acquiring an image of an interior of the vehicle; obtaining, from the image, multiple sub-images; determining, for each sub-image of the multiple sub-images, whether a portion of the seat belt is present; and responsive to determining that the portion of the seat belt is not present in any sub-image of the multiple sub-images, determining that the seat belt is not being used; or responsive to determining that the portion of the seat belt is present in each sub-image of the multiple sub-images, determining that the seat belt is being used.
 18. The method of claim 17, wherein processing of the multiple sub-images is performed in a sequential manner to determine whether the portion of the seat belt is present.
 19. The method of claim 18, wherein the method further comprises: responsive to determining that the portion of the seat belt is not present in any sub-image of the multiple sub-images, terminating the processing of the multiple sub-images.
 20. The method of claim 18, wherein the method further comprises: setting an initial state of a seat-belt use variable at a belt-off state; determining whether the portion of the seat belt is present by determining, for a respective sub-image of the multiple sub-images, whether a probability that the portion of the seat belt is present in the respective sub-image is greater than a first predetermined threshold or a second predetermined threshold, the first predetermined threshold having a larger value than the second predetermined threshold; responsive to determining that the probability that the portion of the seat belt is present in the respective sub-image is greater than the first predetermined threshold, proceeding to process a next sub-image in the sequential manner; responsive to determining that the probability that the portion of the seat belt is present in the respective sub-image is greater than the second predetermined threshold but lower than the first predetermined threshold, switching back to the initial state of the seat-belt use variable or switching back to an immediately previous sub-image in the sequential processing and determining a partial occlusion of the seat belt exists; or responsive to determining that the probability that the portion of the seat belt is present in the respective sub-image is lower than the first predetermined threshold and the second predetermined threshold, terminating the processing of the multiple sub-images. 